import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import PerInfo from '../views/PerInfo.vue'
import PreLogin from '../views/PreLogin.vue'
import MyInfo from '../views/MyInfo.vue'
import Assets from '../views/Zichan.vue'
import LeaveMessage from '../views/LeaveMessage.vue'
import Login from '../views/Login.vue'
import Republic from '../views/Republic.vue'



Vue.use(VueRouter)

const routes = [{
		path: '/',
		name: 'Home',
		component: Home
	},
	{
		path: '/PerInfo',
		name: 'PerInfo',
		component: PerInfo
	}, 
	{
		path: '/PreLogin',
		name: 'PreLogin',
		component: PreLogin
	}, {
		path: '/LeaveMessage',
		name: 'LeaveMessage',
		component: LeaveMessage
	}, {
		path: '/Login',
		name: 'Login',
		component: Login
	},
	{
		path: '/Republic',
		name: 'Republic',
		component: Republic
	}, {
		path: '/zichan',
		name: 'Zichan',
	
		component: () => import( /* webpackChunkName: "about" */ '../views/Zichan.vue')
	}, {
		path: '/cash',
		name: 'Cash',
		
		component: () => import( /* webpackChunkName: "about" */ '../views/Cash.vue')
	},

	{
		path: '/MyInfo',
		name: 'MyInfo',
		component: MyInfo
	},

	{
		path: '/deposit',
		name: 'Deposit',
		
		component: () => import( /* webpackChunkName: "about" */ '../views/Deposit.vue')
	}, {
		path: '/credit',
		name: 'Credit',
	
		component: () => import( /* webpackChunkName: "about" */ '../views/Credit.vue')
	}, {
		path: '/alipay',
		name: 'Alipay',
		
		component: () => import( /* webpackChunkName: "about" */ '../views/Alipay.vue')
	}, {
		path: '/wechatWallet',
		name: 'WechatWallet',
		
		component: () => import( /* webpackChunkName: "about" */ '../views/WechatWallet.vue')
	}, {
		path: '/antCheckLater',
		name: 'AntCheckLater',
		
		component: () => import( /* webpackChunkName: "about" */ '../views/AntCheckLater.vue')
	}, {
		path: '/editAccount',
		name: 'EditAccount',
		
		component: () => import( /* webpackChunkName: "about" */ '../views/EditAccount.vue')

	}
]

	



const router = new VueRouter({
	mode: 'history',
	base: process.env.BASE_URL,
	routes
})

export default router
